import React from 'react'
import '../index.css'
import mock from '../mock'
import Car from '../compontns/Car'
function Gallery() {
    let list=mock
  return (
    <div>
          {
           list.map((item,index)=>{
              return  <Car key={index} info={item} ></Car>
           })
         }
    </div>
  )
}

export default Gallery